﻿using System;
using System.Collections.Generic;

using System.Security.Principal;
using PortalIntranet.ObjectComponents.Seguranca;
using PortalIntranet.ObjectComponents.Comun;
using PortalIntranet.ObjectComponents.Administracao;

namespace PortalIntranet.InternalComponents.Security
{
	public class CustomPrincipal : ICustomPrincipal
	{
		public CustomPrincipal(string email)
		{
			this.Identity = new GenericIdentity(email);
		}

		public IIdentity Identity { get; private set; }

		public bool IsInRole(string role) { return false; }

		public UsuarioInfo Usuario { get; set; }

		public EmpresaInfo Empresa { get; set; }

		public List<MenuItemInfo> Menus { get; set; }
	}
}
